//
//  XBGetVerificationCodeView.h
//  demoGetVerificationCode
//
//  Created by MacBook on 2018/10/3.
//  Copyright © 2018年 MacBook. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,XBGetVerificationCodeType)

{
    
    XBGetVerificationCodeOne = 0,//只数字
    
    XBGetVerificationCodeTwo,//只字母
    
    XBGetVerificationCodeThree,//数字字母混合
};

typedef void(^setShowCodeNumber)(NSString * codeNumber);

@interface XBGetVerificationCodeView : UIView

@property(nonatomic,assign)NSInteger verificationNumber;//验证码位数

@property(nonatomic,assign)XBGetVerificationCodeType tmpCodeType;

@property(nonatomic,strong)setShowCodeNumber setShowCodeNumber;//获取到的验证码

-(void)setCodeTitleColor:(UIColor *)color;// 设置验证码字体颜色

-(void)setCodeTitleFont:(UIFont *)font;//设置验证码字体大小

@end
